package com.villaday.idf.model;

import java.util.List;

/**
 * Created by admin on 2018/9/6.
 */

public class vipsGroupsEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : [{"brokenPercent":15,"id":"jJ4PBZPDnm","members":[{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/nfbbxbF6IqxGO8VjeCtIRkNlAoBCnooHU0b6aMHbXSNZrU8wowPqRQknLXOqmVT4a2I9PdjIJX4TWLKxYydcMxfSoD3z9j1M/132","id":"WrdnadqMG4","nickName":"张力"},{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqavYqlzVYGRqez4Hj8W6RIJibPhlia5LoNd0a0dL4IIfLvyFeBrNicbWdGJnicgtxEa1avHXibicvH3fJg/132","id":"bMXWqgO9x8","nickName":"ash"}],"name":"战士"},{"brokenPercent":25,"id":"DBvYbnY6bL","members":[{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqMskia3uhgmK73X3J4icw96icyACupyIK0oIltibg5UXttO6pM2AIyH5YNYq3Ye9pBmHaHXibW0TOvXCw/132","id":"5MlZJlZ4jQ","nickName":"Will"},{"headerUrl":"https://wx.qlogo.cn/mmopen/vi_32/07zIq4qMkyKgYFtAQ4QryhWYgfdmW6sUq4wlszXWOFDaj6nzYAs2tNqmoS7F1skjaUJXWEpytFsZ0LfQvtV8jQ/132","id":"9MZlDpylj1","nickName":"小宝"},{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/FGlMMuPZWXibUtib63Zj8au9NzSRXp5yKcFGBmr4AjeGAMXpLeFFicWyTiaTicVz4RgonNvtIbWiasc1xMWVHCwGAjsg/132","id":"vj6v29d8jg","nickName":"笨潴潴0613"},{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTKMdylic8UUD4x4gKFe1vhdPBN8hVYuv5QVWBhwT42QOc5pMk8R0nK7fibAOQNJc3Fl3rC3GftDGIbQ/132","id":"0MLQB3NJng","nickName":"Catherine"},{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTIz21ia0icNYRrtRvCDnY9gXxez6tse60cJatBL8gTlIhCncetUE94657KyXMHFnvN7lqJLBvDzYdSQ/132","id":"mjy93lpljy","nickName":"逗逼あ日常㍿"},{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83equiatxJvvNlYGHl1TQjNKmn1ibibyWhia0xy263PI7G28b7h5Gf9okp0ndfY4XYT040Ieicnepsb3Bbng/132","id":"5MlZJDyojQ","nickName":"👻"},{"headerUrl":"https://wx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLvd8EWMY3dxicepflPJibRBtVKDZuVicZKcts2Z0WT1kwgpmjDpkn5CXGZIjVYibG5LLIfB4GGsubH6A/132","id":"Aj8RPNdEM2","nickName":"🧀 小总Tonn🍠"}],"name":"天使族"}]
     */

    private String code;
    private String status;
    private String msg;
    private List<BodyBean> body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<BodyBean> getBody() {
        return body;
    }

    public void setBody(List<BodyBean> body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * brokenPercent : 15
         * id : jJ4PBZPDnm
         * members : [{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/nfbbxbF6IqxGO8VjeCtIRkNlAoBCnooHU0b6aMHbXSNZrU8wowPqRQknLXOqmVT4a2I9PdjIJX4TWLKxYydcMxfSoD3z9j1M/132","id":"WrdnadqMG4","nickName":"张力"},{"headerUrl":"http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqavYqlzVYGRqez4Hj8W6RIJibPhlia5LoNd0a0dL4IIfLvyFeBrNicbWdGJnicgtxEa1avHXibicvH3fJg/132","id":"bMXWqgO9x8","nickName":"ash"}]
         * name : 战士
         */

        private String brokenPercent;
        private String id;
        private String name;
        private boolean allowUpdateBrokenPercent; //允许更新分佣比例
        private boolean allowUpdateName; //允许更新组名
        private int quantity;//该组数量
        private List<MembersBean> members;
        private boolean isSelected;

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public boolean isAllowUpdateBrokenPercent() {
            return allowUpdateBrokenPercent;
        }

        public void setAllowUpdateBrokenPercent(boolean allowUpdateBrokenPercent) {
            this.allowUpdateBrokenPercent = allowUpdateBrokenPercent;
        }

        public boolean isAllowUpdateName() {
            return allowUpdateName;
        }

        public void setAllowUpdateName(boolean allowUpdateName) {
            this.allowUpdateName = allowUpdateName;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public String getBrokenPercent() {
            return brokenPercent;
        }

        public void setBrokenPercent(String brokenPercent) {
            this.brokenPercent = brokenPercent;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<MembersBean> getMembers() {
            return members;
        }

        public void setMembers(List<MembersBean> members) {
            this.members = members;
        }

        public static class MembersBean {
            /**
             * headerUrl : http://thirdwx.qlogo.cn/mmopen/nfbbxbF6IqxGO8VjeCtIRkNlAoBCnooHU0b6aMHbXSNZrU8wowPqRQknLXOqmVT4a2I9PdjIJX4TWLKxYydcMxfSoD3z9j1M/132
             * id : WrdnadqMG4
             * nickName : 张力
             */

            private String headerUrl;
            private String id;
            private String nickName;
            private boolean isSelected; //用来标识添加成员是否被选中
            private String letters;//显示拼音的首字母
            private int group;//用来标识是否是旧成员，方便组员的编辑
            private boolean isExpand;

            public boolean isSelected() {
                return isSelected;
            }

            public void setSelected(boolean selected) {
                isSelected = selected;
            }

            public String getLetters() {
                return letters;
            }

            public void setLetters(String letters) {
                this.letters = letters;
            }

            public int getGroup() {
                return group;
            }

            public void setGroup(int group) {
                this.group = group;
            }

            public boolean isExpand() {
                return isExpand;
            }

            public void setExpand(boolean expand) {
                isExpand = expand;
            }

            public String getHeaderUrl() {
                return headerUrl;
            }

            public void setHeaderUrl(String headerUrl) {
                this.headerUrl = headerUrl;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }
        }
    }
}
